<template>
  <div id="app">
    <button @click="$bus.$emit('changeshow')">打开模拟态框</button>
    <modal :ishow="ishow">
      <template v-slot:title>
        <p>退钱提示</p>
        <p />
      </template>
      <template v-slot:content>
        <p>12435465</p>
        <p />
      </template>
    </modal>
  </div>
</template>

<script>
import modalmix from "@/mixins/modal";
export default {
  name: "App",
  mixins: [modalmix],
};
</script>

<style>
button {
  width: 125px;
  height: 35px;
  line-height: 35px;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(90deg, #1596fb, #002dff);
  border: 0;
  border-radius: 5px;
  margin: 0 10px;
}
</style>
